<?php
/**
 * Created by PhpStorm.
 * User: yangliqiang
 * Date: 2018/8/22
 * Time: 21:28
 */

namespace app\api\controllers;


use app\api\core\BaseController;
use app\api\interfaces\MenuInterface;
use app\api\models\MenuModel;

class MenuController extends BaseController implements MenuInterface
{
    public function actionGet_list()
    {
        return (new MenuModel())->actionFetLit();
    }
//    public function actionDel_one()
//    {
//        return (new MenuModel())->actionDel();
//    }

    public function actionAdd()
    {
        return (new MenuModel())->actionAdd();
    }
}